{% extends  'weui/base.html' %}

{% block custom_css_js %}
{% endblock %}

{% block title%}
正在加载...请稍等
{% endblock %}

{% block base_content %}
<!--
<div class="weui-loadmore">
  <i class="weui-loading"></i>
  <span class="weui-loadmore__tips">正在加载</span>
</div>
-->
<div class="page">
  <div id="loadingToast">
    <div class="weui-mask_transparent"></div>
    <div class="weui-toast">
        <i class="weui-loading weui-icon_toast"></i>
        <p class="weui-toast__content">数据加载中</p>
    </div>
  </div>
</div>

<script>
encode_next_page = encodeURIComponent("{{ next_page }}");
//alert(encode_next_page);
window.location.href = 'https://open.weixin.qq.com/connect/oauth2/authorize?appid={{appid}}&redirect_uri=https%3A%2F%2Fwww.ztm.me%2Fzh%2Faccount%2Fsignin%2F%3Fnext%3D'+encode_next_page+'&response_type=code&scope=snsapi_base&state=123#wechat_redirect'
</script>

{% endblock %}
